import observe from "./observe"
import array from "./array"
var obj = {
  a: {
    m: {
      n: 4,
      nnn: {
        name: "危啊",
      },
    },
  },
  b: {
    dd: "ddd",
  },
  c: 555,
  array: [1, 2, 3, 4, 5, 6, { age: 222 }],
}

// console.log(obj.a)
// obj.a = "kksadkajsk"
// console.log(obj.a)
// console.log(obj)
// obj.c++
observe(obj)
// console.log(obj.a.m.n)
// console.log(obj.a.m.nnn.name)
console.log((obj.array[0] = 111))
obj.array.push(233)
console.log(obj)
obj.array[4] = 5555
